﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class WXCardLogInfoConfig : EntityTypeConfiguration<WXCardLogInfo>
    {
        public WXCardLogInfoConfig()
        {
            ToTable("Himall_WXCardLog");
            Property(item => item.CardId).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.CardTitle).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.CardSubTitle).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.CardColor).HasColumnType("varchar").HasMaxLength(20);
            Property(item => item.AppId).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.AppSecret).HasColumnType("varchar").HasMaxLength(100);
        }
    }
}
